﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Windows.Forms;
using DeviceSync.ecclescollege;

namespace DeviceSync
{
	static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[MTAThread]
		static void Main()
		{
			Application.Run(new MainForm());
		}

		public static LoginDetails loginDets;

		public static SyncService GetClient()
		{
			SyncService serv = new SyncService();
			// serv.Url = "";   *** put your soap service url here
			serv.Timeout = 1000000;
			serv.Credentials = new System.Net.NetworkCredential(loginDets.Username, loginDets.Password, "eccles2k");
			return serv;
		}
	}

	public class LoginDetails
	{
		public string Username { get; set; }
		public string Password { get; set; }
	}
}